Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODWindowState


AcquireCurrentMenuBar

Document Shell
Mac OS

The AcquireCurrentMenuBar method returns a reference to the current menu bar object.

ODMenuBar AcquireCurrentMenuBar ();
return value
A reference to the current menu bar object.
DISCUSSION
The document shell calls this method. Your part typically calls this window-state object's CopyBaseMenuBar method instead of this method.

This method increments the reference count of the returned menu bar. When the caller has finished using that menu bar, it should call the menu bar's Release method.

SEE ALSO
The ODWindowState::CopyBaseMenuBar method (page 855).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help